Skip to content

implemented filter query in sent table on the bases of folder= 'sent' - #1672

Merged
PeterSurda merged 3 commits into
Bitmessage:v0.6from
navjotcis:bug-fixes5
Oct 31, 2020
Merged

PeterSurda merged 3 commits into
Bitmessage:v0.6from
navjotcis:bug-fixes5

Conversation

@navjotcis

Copy link
Copy Markdown
Contributor

I have implemented a filter query for the sent table on the bases of folder ='sent' because in kivy app there is one more feature draft message so for storing draft message they are using the same table sent only the folder value is change on the bases of folder type so I have implemented all the sent table filter query in class_singleWorker.py and class_singleCleaner.py files.

Comment thread src/class_singleWorker.py Outdated
sqlExecute(
'UPDATE sent SET msgid=?, status=?, lastactiontime=?'
' WHERE ackdata=?',
' WHERE ackdata=? AND folder="sent" ',

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Single quotes: AND folder='sent'

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

Comment thread src/class_singleWorker.py
inventoryHash, newStatus, retryNumber + 1,
sleepTill, int(time.time()), ackdata
)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why?

@PeterSurda
PeterSurda merged commit 6c5bb62 into Bitmessage:v0.6 Oct 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants